ComponentOne FlexGrid for WinForms
GroupDescription Constructor(String,Nullable<ListSortDirection>,Boolean)

C1.Win.C1FlexGrid Namespace > GroupDescription Class > GroupDescription Constructor : GroupDescription Constructor(String,Nullable<ListSortDirection>,Boolean)
Name of the property to group on.
Sort direction to apply within the group. Defaults to Ascending, may be set to null to group but not sort by this property.
Whether to group by this property. Defaults to true, set to false if you want to sort but not group by this property.
Initializes a new instance of a GroupDescription.
Syntax
'Declaration
 
Public Function New( _
   ByVal propertyName As String, _
   ByVal sortDirection As Nullable(Of ListSortDirection), _
   ByVal group As Boolean _
)

Parameters

propertyName
Name of the property to group on.
sortDirection
Sort direction to apply within the group. Defaults to Ascending, may be set to null to group but not sort by this property.
group
Whether to group by this property. Defaults to true, set to false if you want to sort but not group by this property.
See Also

Reference

GroupDescription Class
GroupDescription Members
Overload List